JS encrypt method

Discussion in 'Software' started by Vlad902, Oct 27, 2002.

  1. Vlad902

    Vlad902 Guest

    For my encryption program currently Im working on a way how to make it so that the program encrypts and decrypts better. Well to do this I need to remove one vital thing. The "|"'s. When it encrypts something it uses the letters unicode value multplied and added by a special number depending on the key they entered. Well the problem is is that someone could easily decrypt it because of the "|"'s put in between multiplied and added UNICODE values. So Im trying to think of a new way for the program to know where to stop decrypting one letter and start decrypt the next... Do any of you know of a way that I might do this? I have already added random numbers at specified places. Am currently working on double encryption and a special thing to make it harder... But Im trying to get this impossible to crack... So any help is appreciated.


    PS: The program is written in JS
    PPS: The "current" source code is at http://davidstests.tripod.com/encrypt.txt
     
    Last edited by a moderator: Oct 27, 2002
  2. Vlad902

    Vlad902 Guest

    for example
    541942100|86253688835240|39355869060545|41426338181445|55112750593440|82366439428680|53391103620995|62419291269355|32112750593440|78341775236365|88401673989130|67355869060545|72112750593440|48426338181445|81391103620995|57412244357265|10221977730835|

    is "Hey how are you?" encrypted with blah! Those |'s are a big security risk!
     
  3. Genius Boy

    Genius Boy The Examinator

    Answering your post:

    I have no idea. Honestly. But I have to say that that is a very cool program. I'm considering stealing it and playing around some.

    Could I ask what this is for? Just fun?
     
  4. Vlad902

    Vlad902 Guest

    Reasons:

    -Fun
    -I was bored at 2 AM
    -I've always been interested in encryption
    -Im WAY paranoid so security
    -Im learning JS so to get comfortable with JS as well...


    And if you plan on using it please do leave that little top comment :). And I will keep this board posted on advancements. I plan to eventually have double layer encryption/decryption, more random numbers, subtracting the answer from a specified number determined by the key... If you REALLY like it, pay me :p Just kidding


    EDIT: And I plan to port it to C one day when Im done with it in JS... But thats when I have time... And school eats up my time. So you may not see a C version until the summer... :(
     
  5. Genius Boy

    Genius Boy The Examinator

    Or maybe just use a number instead of the '|' symbol in your code.

    Even more elaborate:
    Create another script to run alongside that which inserts random letters every so many digits depending on the key they entered. Have it so that only certain letters are inserted by the program. Then use a letter which will not be inserted by the random generator in place of the '|'.
    Ex: have a random letter, either w, h, e, k, q, u, s, a, and v inserted at random, then have either z, s, t, r, or p inserted in place of the '|'.

    I know it's elaborate and probably not practicle, but it's all I've got:D
     
  6. Vlad902

    Vlad902 Guest

    dude! THATS BRILLIANT! THATS EXACTLY WHAT I NEED!
    /hugs and kisses Genius Boy


    Now I can see why your name is GENIUS boy ;) Thank you agin! :)
     
  7. Genius Boy

    Genius Boy The Examinator

    I, ummm, have a GIRLfriend. But thanks anyways:D
     
  8. Vlad902

    Vlad902 Guest

    Brilliant, Brilliant, Brilliant, I've already decided how it will work with the double layer encryption too! Mwhahahaha... Soon I will introduce "v902 encryption" And then people will look at RSA and think "pfff what a waste" :p :D
     
  9. Vlad902

    Vlad902 Guest

    Wait, damn it, implementing that in decryption is gonna be hard as hell!

    EDIT: Such a fickle creature I am.. For I already know how to implement it... LOL!
     
    Last edited by a moderator: Oct 28, 2002
  10. Vlad902

    Vlad902 Guest

    Wrote the encrypt function and part of the decrypt function during Geometry :)
     
  11. Genius Boy

    Genius Boy The Examinator

    At least you found a good use for the class;)
     
  12. Vlad902

    Vlad902 Guest

    :D Yeah, I'll probably have a beta release over the weekend with graphics and all that... I'll also try to have double/triple layer encryption by then...
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds